<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<title>自定义下单</title>
		 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<link href="/static/css/amazeui.min.css" type="text/css" rel="stylesheet" />
		<link href="/static/css/style.css" type="text/css" rel="stylesheet" />
		
	</head>
	<body>
		<header data-am-widget="header" class="am-header am-header-default sq-head ">

			<h1 class="am-header-title" >
  	            <a href="" class="" style="color: #333;">{{.todayDate}}订单列表</a>
            </h1>
	    </header>
	    <div style="height: 49px;"></div>
	    <ul id="eat-list" class="eat-list">
	    	<li>
	    		<span class="name">姓名</span>
	    		<span class="name">菜名</span>
	    		<em class="price">价格</em>
	    		<span>下单时间</span>
	    	</li>
	    {{range $k, $v := .list}}
	    	<li>
	    		<span class="name">{{$v.userName}}</span>
	    		<span class="name">{{$v.menuName}}</span>
	    		<em class="price">￥{{$v.price}}</em>
	    		<span>{{$v.orderTime}}</span>
	    	</li>
	    {{end}}
	    	
	    </ul>
	    <div style="height: 10px;"></div>
	    <div class="pricebox">
	    	<p id ="pricebox">总价：<i>{{.totalPrice}}</i>元（不含运费）（<em>{{.total}}</em>）份</p>
	    	<!-- <p>请选择支付方式并确认下单：</p> -->
	    	<button id="exportbtn" class="paybtn" type="button" > 导出订单</button>
	    </div>
	    <div style="height: 5px; "></div>
	    <hr style="height:1px;border:none;border-top:1px dashed #ddd;" />
	    <div class="title">新订单</div>
		<ul class="contact">
		    <li><input type="text" id="user_name" placeholder="请输入姓名"/></li>
		    <li><input type="text" id="menu_name" placeholder="请输入菜名"/></li>
		    <li><input type="text" id="price" placeholder="请输入价格"/></li>
		</ul>
		<div class="title" style="display:none; color:#f00; " id="msgTip">提交成功</div>
		<div style="height: 10px;"></div>
		<button id="submit" class="paybtn" type="button" > 提交</button>
	    <div style="height: 49px;"></div>
	</body>
	<script src="/static/js/jquery.min.js" type="text/javascript"></script>
	<script src="/static/js/amazeui.min.js" type="text/javascript"></script>
	<script src="/static/js/page/ordertmp.js" type="text/javascript" ></script>
	<script type="text/javascript">
		var webHost = "{{.webHost}}";
	</script>
</html>
